﻿using System;
using NUnit.Framework;

namespace AppTwo.Tests
{
    [TestFixture]
    public class ComponentTests
    {
        [Test]
        public void FirstNumberPositiveAndSecondNumberPositive()
        {
            Assert.That(new Component().Foo(2, 3), Is.EqualTo(1));
        }

        [Test]
        public void FirstNumberNegativeAndSecondNumberPositive()
        {
            Assert.That(new Component().Foo(-2, 30), Is.EqualTo(1));
        } 
    }      
}
